75c92e4ca10109e776080fd80a35725fc5c147a9,src/main/java/mcmultipart/block/BlockMultipartContainer.java,BlockMultipartContainer,addHitEffects,#IBlockState#World#RayTraceResult#ParticleManager#,384
Before Change
return true;
ResourceLocation path = hit.partHit.getModelPath();
IBlockState partState = hit.partHit.getActualState(MultipartRegistry.getDefaultState(hit.partHit).getBaseState());
if (hit.partHit instanceof IMultipart2 && ((IMultipart2) hit.partHit).shouldBreakingUseExtendedState()) {
partState = hit.partHit instanceof IMultipart2
? ((IMultipart2) hit.partHit).getExtendedState(partState, world, hit.getBlockPos())
After Change
return true;
ResourceLocation path = hit.partHit.getModelPath();
IBlockState partState = hit.partHit instanceof IMultipart2
? ((IMultipart2) hit.partHit).getActualState(MultipartRegistry.getDefaultState(hit.partHit).getBaseState(), world,
target.getBlockPos())
: hit.partHit.getActualState(MultipartRegistry.getDefaultState(hit.partHit).getBaseState());
if (hit.partHit instanceof IMultipart2 && ((IMultipart2) hit.partHit).shouldBreakingUseExtendedState()) {
partState = hit.partHit instanceof IMultipart2
? ((IMultipart2) hit.partHit).getExtendedState(partState, world, hit.getBlockPos())